package com.lungle.warmdiary.app;

import android.os.Environment;

public class AppConstant {
    public static final boolean DEBUG = true;
    public static final boolean CATCH = true;
    public static final boolean HEADER = true;

    public static final int PAGE_SIZE = 10;

    public static final int MEDIA_UPDATE_INTERVAL_TIME = 1000 * 5;

    public static final String INTENT_ACTION_LOGOUT = "com.lungle.warmdiary.LOGOUT";
    public static final String INTENT_ACTION_Media_change = "com.socialtouch.wemeida.MEDIA_CHANGE";
    public static final String INTENT_ACTION_TAB_JUMP = "com.socialtouch.wemeida.TAB_JUMP";
    public static final String INTENT_ACTION_CAMPAIGN_TAB_JUMP = "com.socialtouch.wemeida.CAMPAIGN_TAB_JUMP";
    public static final String INTENT_ACTION_ITEM_CLICK = "com.socialtouch.wemeida.ITEM_CLICK";
    public static final String INTENT_ACTION_MEDIA_ADD = "com.lungle.warmdiary.MEDIA_ADD";

    public static final String INTENT_ACTION_COMMENT = "com.socialtouch.wemeida.action_groupid_chanaged";

    public static final String EXTRA_BUNDLE = "extra_bundel";

    public static final boolean OPEN = true;
    //    public static final String API_URL = "http://172.16.16.217:8000/";
    //    public static final String API_URL = "http://192.168.1.100:8000/";
    public static final String API_URL = "https://v.shiqutech.com/";
    public static final String API_DEBUG_URL = "https://v.social-touch.com/";


    public final static String BASE_DIR = Environment
            .getExternalStorageDirectory().getAbsolutePath() + "/wemedia/";

    public final static String CACHE_DIR = BASE_DIR + ".cache/";
    public final static String IMAGE_SAVE_PAHT = BASE_DIR + "download_images";
    public final static String DEFAULT_SAVE_FILE_PATH = BASE_DIR + "download";
    public final static String CACHE_DB = "db_weimeida";

    public static final long CACHE_EXPIRE_OND_DAY = 3600000;//一天

    public static final String UMEMG_APPKEY = "5b4dac6ef43e4844b0000038";
    public static final String UMENG_SECRET = "f06fda2c08f1ede4256eaee940746377";

    public static final String WEICHAT_APPID = "wx8b638d4c1c112505";
    public static final String WEICHAT_SECRET = "d2d5d0c0931a0daf7315b9067a6ff33f";

    public static final String QQ_APPID = "1105634898";
    public static final String QQ_APPKEY = "iGV22bFr0hJdfPDx";

    public static final String SINA_WEIBO_ID = "1635447941";
    public static final String SINA_WEIBO_SECRET = "647e122ddcd9f450abfd219e21ee2e0b";

    public static final String WECHAT = "wechat";


    public static final String URL_AGREENMENT = "http://static.ma.social-touch.com/upload/h5/wemedia/user-service-agreement.html";
    public static final String URL_ACTIVE_GUIDE = "http://static.ma.social-touch.com/upload/h5/wemedia/activity-guide/activity-guide.html";
    public static final String URL_SHARE_URL = "http://static.ma.social-touch.com/upload/h5/wemedia/invited-centrepages/invited-centerpages.html";
    public static final String URL_INVEST = "http://static.ma.social-touch.com/upload/h5/wemedia/invited/invited.html";

}
